package com.operate.api.operate.order.domain.po;

import com.operate.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "order_recharge")
public class OrderRechargePO   extends BaseEntity {

    /**
     * 充值用户ID
     */
    @Column(name = "user_id")
    private String userId;

    /**
     * 订单状态 1 待支付 2 已支付
     */
    @Column(name = "order_state")
    private Integer orderState;

    /**
     * 充值订单编号
     */
    @Column(name = "order_no")
    private String orderNo;

    /**
     * 充值类型 1 支付宝 2 微信
     */
    @Column(name = "order_type")
    private Integer orderType;

    /**
     * 充值金额
     */
    @Column(name = "order_money")
    private BigDecimal orderMoney;

    /**
     * 充值商品数量
     */
    @Column(name = "order_num")
    private Long orderNum;

    /**
     * 充值时间
     */
    @Column(name = "order_date")
    private Date orderDate;

}